package com.test.sdk.core.service;

import com.test.sdk.common.pojo.User;
import com.test.sdk.core.exception.SdkException;

public interface UserService {

    boolean doSendShortMessage(String mobile, boolean isExist) throws SdkException;

    User doMobileRegist(String mobile, String code, Integer channelId) throws SdkException;

    User doUsernameRegist(String name, String password, Integer channelId) throws SdkException;

    String doUsernameLogin(String name, String password, Integer gameId) throws SdkException;

    void heartBeat(String ticket);
}
